import myaxios from "@/api/myaxios";

let BASE_URL = "/schoolApi"

let addressApi = {

    getAllProvince() {
        return myaxios.get(BASE_URL + "/address/province")
    },
    getCityListByProvinceId(pId) {
        return myaxios.get(BASE_URL + "/address/city?pId=" + pId)
    }
}

export default addressApi